import http from '@/common/http.js'

export async function getThingshome() { //办事首页
	return await http({
		url: '/zone/home',
		method: 'GET',
	})
}
export async function getpolicysList(data) { //政策查询列表
	return await http({
		url: '/zone/policys',
		method: 'GET',
		data:data
	})
}
export async function getPolicyinfo(data) { //根据ID获取政策信息
	return await http({
		url: '/zone/policy/'+data.id,
		method: 'GET'
	})
}
export async function getZoneinfo(data) { //根据id获取专区信息页
	return await http({
		url: '/zone/'+data.id,
		method: 'GET'
	})
}
export async function getMatterinfo(data) { //根据ID获取办事明细
	return await http({
		url: '/zone/matter/'+data.id,
		method: 'GET'
	})
}
